package com.java2001.controller;


import com.java2001.mapper.UserMapper;
import com.java2001.pojo.User;
import com.java2001.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@Controller
public class IndexController {



    @RequestMapping({"/", "/index"})
    public String toIndex() {

        return "index";
    }
}
